package com.lagou.edu.dao;

import com.lagou.edu.pojo.LagouAuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author: Tao Zheng
 * @classNmae: LagouCodeDao
 * @packageName: com.lagou.edu.dao
 * @description:
 * @DATE: 2021/9/8 16:47
 */
public interface LagouAuthCodeDao extends JpaRepository<LagouAuthCode, Integer> {

    LagouAuthCode findFirstByEmailOrderByIdDesc(String email);
}
